package com.group.lyl.send.dao;

import com.group.lyl.send.model.Staff;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * 员工dao层
 */
public interface StaffDao {

     //通过生日查询
     List<Staff> findByBirthday (Date date);
     //储存员工
     void saveStaff(Staff staff);
}
